package com.lz.dao;

import com.lz.domain.Brands;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface BrandsDao {
    //简单查询 不使用mapperSQL映射文件
    @Select("select *from tb_brand where id=#{id}")
    Brands findById(int id);
}
